home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / languages.xul < prev    next >
Extensible Markup Language  |  2006-07-18  |  4KB  |  87 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE prefwindow SYSTEM "chrome://browser/locale/preferences/languages.dtd">
  5.  
  6. <?xml-stylesheet href="chrome://global/skin/"?>
  7.  
  8. <prefwindow id="LanguagesDialog" type="child"
  9.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.             title="&languages.customize.Header;"
  11.             dlgbuttons="accept,cancel"
  12.             style="width: &window.width;;">
  13.  
  14.   <prefpane id="LanguagesDialogPane" onpaneload="gLanguagesDialog.init();">
  15.  
  16.     <preferences>
  17.       <preference id="intl.accept_languages" name="intl.accept_languages" type="wstring"/>
  18.       <preference id="pref.browser.language.disable_button.up"
  19.                   name="pref.browser.language.disable_button.up"
  20.                   type="bool"/>
  21.       <preference id="pref.browser.language.disable_button.down"
  22.                   name="pref.browser.language.disable_button.down"
  23.                   type="bool"/>
  24.       <preference id="pref.browser.language.disable_button.remove"
  25.                   name="pref.browser.language.disable_button.remove"
  26.                   type="bool"/>
  27.     </preferences>
  28.  
  29.     <script type="application/x-javascript" src="chrome://browser/content/preferences/languages.js"/>
  30.  
  31.     <stringbundleset id="languageSet">
  32.       <stringbundle id="bundleRegions"      src="chrome://global/locale/regionNames.properties"/>
  33.       <stringbundle id="bundleLanguages"    src="chrome://global/locale/languageNames.properties"/>
  34.       <stringbundle id="bundlePreferences"  src="chrome://browser/locale/preferences/preferences.properties"/>
  35.       <stringbundle id="bundleAccepted"     src="resource://gre/res/language.properties"/>
  36.     </stringbundleset>
  37.  
  38.     <description>&languages.customize.prefLangDescript;</description>
  39.     <label>&languages.customize.active.label;</label>
  40.     <grid flex="1">
  41.       <columns>
  42.         <column flex="1"/>
  43.         <column/>
  44.       </columns>
  45.       <rows>
  46.         <row flex="1">
  47.           <listbox id="activeLanguages" flex="1" rows="6"
  48.                     seltype="multiple" onselect="gLanguagesDialog.onLanguageSelect();"
  49.                     preference="intl.accept_languages"
  50.                     onsyncfrompreference="return gLanguagesDialog.readAcceptLanguages();"
  51.                     onsynctopreference="return gLanguagesDialog.writeAcceptLanguages();"/>
  52.           <vbox>
  53.             <button id="up" class="up" oncommand="gLanguagesDialog.moveUp();" disabled="true"
  54.                     label="&languages.customize.moveUp.label;"
  55.                     accesskey="&languages.customize.moveUp.accesskey;"
  56.                     preference="pref.browser.language.disable_button.up"/>
  57.             <button id="down" class="down" oncommand="gLanguagesDialog.moveDown();" disabled="true"
  58.                     label="&languages.customize.moveDown.label;"
  59.                     accesskey="&languages.customize.moveDown.accesskey;"
  60.                     preference="pref.browser.language.disable_button.down"/>
  61.             <button id="remove" oncommand="gLanguagesDialog.removeLanguage();" disabled="true"
  62.                     label="&languages.customize.deleteButton.label;"
  63.                     accesskey="&languages.customize.deleteButton.accesskey;"
  64.                     preference="pref.browser.language.disable_button.remove"/>
  65.           </vbox>
  66.         </row>
  67.         <row>
  68.           <separator class="thin"/>
  69.         </row>
  70.         <row>
  71.           <menulist id="availableLanguages" oncommand="gLanguagesDialog.onAvailableLanguageSelect();"
  72.                     label="&languages.customize.selectLanguage.label;"
  73.                     label2="&languages.customize.selectLanguage.label;">
  74.             <menupopup id="availableLanguagesPopup"/>
  75.           </menulist>
  76.           <button id="addButton" oncommand="gLanguagesDialog.addLanguage();" disabled="true"
  77.                   label="&languages.customize.addButton.label;"
  78.                   accesskey="&languages.customize.addButton.accesskey;"/>
  79.         </row>
  80.       </rows>
  81.     </grid>
  82.     <separator/>
  83.     <separator/>
  84.   </prefpane>
  85. </prefwindow>
  86.  
  87.